In numerical analysis, Gauss–Hermite quadrature is an extension of Gaussian quadrature method for approximating the value of integrals of the following kind:
In this case
where n is the number of sample points to use for the approximation. The xi are the roots of the ("physicists'") Hermite polynomial Hn(x) (i = 1,2,...,n) and the associated weights wi are given by [1]